package com.eascs.p2p.common.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the p2p_investor_income_detail database table.
 * 
 */
@Entity
@Table(name="p2p_investor_income_detail")
@NamedQuery(name="InvestorIncomeDetailEntity.findAll", query="SELECT i FROM InvestorIncomeDetailEntity i")
public class InvestorIncomeDetailEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String id;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="actual_receive_time")
	private Date actualReceiveTime;

	private BigDecimal income;

	@Column(name="invest_id")
	private String investId;

	private int issue;

	@Column(name="object_id")
	private String objectId;

	private BigDecimal principal;


	private int status;

	public InvestorIncomeDetailEntity() {
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Date getActualReceiveTime() {
		return this.actualReceiveTime;
	}

	public void setActualReceiveTime(Date actualReceiveTime) {
		this.actualReceiveTime = actualReceiveTime;
	}

	public BigDecimal getIncome() {
		return this.income;
	}

	public void setIncome(BigDecimal income) {
		this.income = income;
	}

	public String getInvestId() {
		return this.investId;
	}

	public void setInvestId(String investId) {
		this.investId = investId;
	}

	public int getIssue() {
		return this.issue;
	}

	public void setIssue(int issue) {
		this.issue = issue;
	}

	public String getObjectId() {
		return this.objectId;
	}

	public void setObjectId(String objectId) {
		this.objectId = objectId;
	}

	public BigDecimal getPrincipal() {
		return this.principal;
	}

	public void setPrincipal(BigDecimal principal) {
		this.principal = principal;
	}


	public int getStatus() {
		return this.status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

}